xend hvm: Fix 'monitor=1' handling in domain config file.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 8 May 2007 09:21:23 +0000 (10:21 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 8 May 2007 09:21:23 +0000 (10:21 +0100)
Fix wrong python list assignment for "monitor=1". The old assignment
only works when using qemu-dm.debug in configure file.

Signed-off-by: You YongKang <yongkang.you@intel.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
tools/python/xen/xend/image.py

index d1ea10fe0c66394a633bdd3245bbc2cfd7a544f3..bec78012e09cc53ec6fdb9f9daf21695d236bf7c 100644 (file)
@@ -418,7 +418,7 @@ class HVMImageHandler(ImageHandler):
             ret.append('-nographic')
 
         if int(vmConfig['platform'].get('monitor', 0)) != 0:
-            ret.append('-monitor vc')
+            ret = ret + ['-monitor', 'vc']
         return ret
 
     def createDeviceModel(self, restore = False):